export const option = function () {
  return {
    refreshBtn: true,
    columnBtn: true,
    border: true,
    stripe: true,
    index: true,
    editBtn: true,
    delBtn: true,
    align: 'center',
    addBtn: true,
    menu: true,
    labelWidth: 120,
    indexLabel: '序号',
    column: [
      {
        label: '工厂名称',
        prop: 'factoryNameA',
        rules: [
          {
            required: true,
            message: '请输入工厂名称',
            trigger: 'blur'
          }
        ]
      },
      {
        label: '公司名称',
        prop: 'companyNameA'
      },
      {
        label: '工厂地址',
        prop: 'factoryAddressA'
      },
      {
        label: '工厂面积',
        prop: 'factoryAreaA'
      },
      {
        label: '生产能力',
        prop: 'productionCapacityA'
      },
      {
        label: '已用生产率(%)',
        prop: 'productivityA',
        precision: 2,
        type: 'number'
      }
    ]
  }
}
